package com.pro.service;

import com.pro.pojo.JsAuditLog;
import com.pro.pojo.JsRole;

import java.util.List;

/**
 * ClassName:JsApplicantService
 * Package:com.pro.service
 * Description:
 *
 * @Date:2022/1/26 21:01
 * @Author: XJR
 */
public interface JsApplicantService {
    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/26
     * @Content:查看创作者申请列表
     */
    List<JsRole> selectJsApplicant(String roleName,String applyDate,String result,Integer limit,Integer page);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/26
     * @Content:计算创作者总数
     */
    Integer countJsApplicant(String roleName,String applyDate,String result);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/28
     * @Content:审核申请
     */
    Boolean aditApplicantStatus(JsRole jsRole);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/30
     * @Content:增加申请审核日志
     */

    Boolean addJsAuditLog(JsAuditLog jsAuditLog);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/28
     * @Content:通过id查看详情
     */
    JsRole selectApplicantById(Integer id);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/30
     * @Content:查看审核日志
     */
    List<JsRole> selectJsAuditLog(String roleName,String createDate,String type,Integer limit,Integer page);

    /**
     * @Description:
     * @Author: XJR
     * @Date: 2022/1/30
     * @Content:查看审核日志数量
     */
    Integer countJsAuditLog(String roleName,String createDate,String type);
}
